<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查询作者</title>
</head>
<body>
<table style="color: cadetblue;width: 240px">
    <thead>
    <th>ID</th>
    <th>姓名</th>
    <th>年龄</th>
    <th>地址</th>
    </thead>
    <tbody>
    {% for article in articles %}
        <tr>
            <td>{{ article.id }}</td>
            <td>{{ article.name }}</td>
            <td>{{ article.age }}</td>
            <td>{{ article.addr }}</td>
        </tr>
    {% endfor %}
    <tr>查询到 {{ articles|length }} 条数据</tr>
    </tbody>
</table>
</body>
</html>